package com.fitness.front.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fitness.front.modal.course.dto.CourseDto;
import com.fitness.front.modal.course.entity.Course;
import com.fitness.front.modal.course.params.CoursePageQueryParams;
import com.fitness.front.modal.course.vo.CourseVO;

import java.util.List;

public interface ICourseService extends IService<Course> {

    Page<CourseVO> getCoursePage(CoursePageQueryParams queryParams);

    boolean addCourse(CourseDto equipmentDto);

    boolean updateCourse(CourseDto equipmentDto);

}
